﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZFine.Domain;
using ZFine.Domain.Entity;

namespace Entity.ProjectEnt
{
    /// <summary>
    /// 职位排班登记
    /// </summary>
    public class PositionRecordEntity : IEntity<PositionRecordEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
    {
        public string F_Id { get; set; }
        public string F_CreatorUserId { get; set; }
        public DateTime? F_CreatorTime { get; set; }
        /// <summary>
        ///逻辑删除标记
        /// </summary>
        public bool? F_DeleteMark { get; set; }
        /// <summary>
        /// 删除实体的用户
        /// </summary>
        public string F_DeleteUserId { get; set; }
        /// <summary>
        /// 删除实体时间
        /// </summary>
        public DateTime? F_DeleteTime { get; set; }
        public string F_LastModifyUserId { get; set; }
        public DateTime? F_LastModifyTime { get; set; }
        /// <summary>
        /// 创建人（调度员排班）
        /// </summary>
        public UserEntity CreateAdmin { get; set; }

        ///// <summary>
        ///// 生产部长
        ///// </summary>
        //public UserEntity ProductionUser { get; set; }
        /// <summary>
        /// 调度员
        /// </summary>
        public UserEntity DispatcherUser { get; set; }

        /// <summary>
        /// 调车长
        /// </summary>
        public UserEntity DiaochezhangUser { get; set; }

        /// <summary>
        /// 头钩员
        /// </summary>
        public UserEntity TougouyuanUser { get; set; }

        /// <summary>
        ///中转员
        /// </summary>
        public UserEntity ZhongzhuanyuanUser { get; set; }

        /// <summary>
        /// 司机
        /// </summary>
        public UserEntity SijiUser { get; set; }

        /// <summary>
        /// 副 司 机
        /// </summary>
        public UserEntity FusijiUser { get; set; }
        /// <summary>
        /// 货 运 员
        /// </summary>
        public UserEntity HuoyunyunaUser1 { get; set; }
        /// <summary>
        /// 货 运 员
        /// </summary>
        public UserEntity HuoyunyunaUser2 { get; set; }

        /// <summary>
        /// 道 口 员
        /// </summary>
        public UserEntity daokouyuanUser1 { get; set; }
        /// <summary>
        /// 道 口 员
        /// </summary>
        public UserEntity daokouyuanUser2 { get; set; }
        /// <summary>
        /// 班次
        /// </summary>
        public string BanciUser { get; set; }

        public bool? State { get; set; }

    }
}
